package com.hd123.data.check.dao.common;

import com.baomidou.mybatisplus.annotations.Version;

/**
 * description:
 * 含有版本控制以及操作信息的全量基类实体
 *
 * Date: 2017/12/25
 * Time: 17:14
 *
 * @author zhangxin
 */
public abstract class BaseFullEntity extends BaseOperateInfoEntity{
    private static final long serialVersionUID = 7887492382450936818L;

    @Version
    private long version;

    /**
     * 乐观锁版本控制
     */
    public long getVersion() {
        return version;
    }

    public void setVersion(long version) {
        this.version = version;
    }
}
